/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.DesignPatterns.structural.Composite.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.DesignPatterns.structural.Composite.Composite;
import za.ac.cput.DesignPatterns.structural.Composite.Leaf;

/**
 *
 * @author Nashief
 */ 
@Configurable
public class CompositeConf {
    @Bean 
    public Leaf l(){
    return new Leaf();
    } 
    @Bean 
    public Composite c(){
    return new Composite();
    }
    
}
